* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    
}

ul{
    list-style: none;
    padding-top: 10px;
}

/*  统一组件代码*/
input[type="text"] {
    flex: 1;
    margin-right: 10px;
    height: 35px;
    padding: 5px;
    border: #ab9f9f 1px solid;
    border-radius: 5px;
}
input[type="text"]:focus {
    outline: none;
    border-color: #70B603;
   
}
input[type="text"]::placeholder {
    color: #ab9f9f;
}
button {
    background-color: #70B603;
    border: none;
    width: 60px;
    height: 35px;
    color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 0 6px rgba(185, 185, 113, 0.5);

}

.container {
    width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #c2eb86;
    border-radius: 10px;
    background-color: #d0e9b7;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}

.container h3 {
    /* background-color: #CAF982; */
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
   

}

.container .addtask {
    display: flex;
    justify-content: space-around;
    align-items: center;
}


.container .category {
    padding-top: 8px;
}

.container .search {
    padding-top: 8px;
}

.container .search input {
    width: 360px;
    height: 35px;
    box-shadow: 0 0 2px rgba(120, 127, 116, 0.5);
}

.container .tasklist li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #FFFFFF;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(120, 127, 116, 0.5);
    transition: all 0.3s ease;
    &:hover{
        transform: translateY(-5px);
    }
}
.container .tasklist .checkbox:checked + span {
    text-decoration: line-through;
  }
.container .footer{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #78a552;
    font-size: 15px;
}

 /* 弹框的基础样式 */
 #editAlertBox {
    display: none; /* 默认隐藏 */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    z-index: 1000;
    text-align: center;
}
#editAlertBox button {
    margin-top: 10px;
}
